package com.wechatapp.mengyao.poetry.mapper;

import com.wechatapp.mengyao.poetry.entity.UserInfo;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

public interface UserInfoMapper extends Mapper<UserInfo> {

    UserInfo getUserByPlatformAndId(@Param("platform") String platform,
                                    @Param("openId") String openId);

}